package com.fa4j.third.user.wechat.config;

import com.fa4j.third.base.config.ThirdAdapterConfigurer;
import com.fa4j.third.user.wechat.adapter.WechatUserOauth2ServiceAdapter;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class WechatUserAutoConfiguration {

    @Bean
    public ThirdAdapterConfigurer WechatUserOath2AdapterConfigurer() {
        return new ThirdAdapterConfigurer(WechatUserOauth2ServiceAdapter.class);
    }
}
